! function($, ydui) {
	var dialog = ydui.dialog;
	var $keyboard = $('#J_KeyBoard');
	// 初始化参数
	$keyboard.keyBoard({
		disorder: true, // 是否打乱数字顺序
		title: 'HMS安全键盘' // 显示标题
	});
	// 打开键盘
	$('.J_OpenKeyBoard').on('click', function() {
		$keyboard.keyBoard('open');
	});
	// 六位密码输入完毕后执行
	$keyboard.on('done.ydui.keyboard', function(ret) {
		$(".J_OpenKeyBoard").val(ret.password);
		// 关闭键盘
		$keyboard.keyBoard('close');
	});
}(jQuery, YDUI);
! function($, ydui) {
	var dialog = ydui.dialog;
	var $keyboard = $('#J_KeyBoard2');
	// 初始化参数
	$keyboard.keyBoard({
		disorder: true, // 是否打乱数字顺序
		title: 'HMS安全键盘' // 显示标题
	});
	// 打开键盘
	$('.J_OpenKeyBoard2').on('click', function() {
		$keyboard.keyBoard('open');
	});
	// 六位密码输入完毕后执行
	$keyboard.on('done.ydui.keyboard', function(ret) {
		$(".J_OpenKeyBoard2").val(ret.password);
		// 关闭键盘
		$keyboard.keyBoard('close');
	});
}(jQuery, YDUI);